<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<%@ taglib tagdir="/WEB-INF/tags" prefix="matrix"%>
<%@ taglib uri="http://matrixcsm.zkingsoft.com" prefix="cms"%>
<cms:ads   code="'img_JB4ov0',
'ZY_XinXiZhongXin_1',
'ZY_GongKaiXingWenJian_2',
'ZY_NeiBuJiLu_3',
'ZY_FaGuiXingWenJian_4',
'ZY_BiaoZhunWenJian_5',
'ZY_ShenQingWenJian_6',
'ZY_7_7',
'ZY_8_8',
'ZY_GuanZhuRen_9',
'ZY_RenJianWeiJinRiFa_10',
'img_H7VF111',
'ZY_12_12',
'ZY_13_13',
'ZY_GuanZhuRen_14',
'ZY_RenJianWeiJinRiFa_15',
'img_LmdON16',
'ZY_17_17',
'ZY_18_18',
'ZY_GuanZhuRen_19',
'ZY_RenJianWeiJinRiFa_20',
'img_tIDYO21',
'ZY_QueRen_22',
'ZY_23_23',
'ZY_24_24',
'ZY_25_25',
'ZY_26_26'"></cms:ads>
<!doctype html>
<!-- 信息中心 -->
<html>
 <head> 
  <meta charset="utf-8"> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
  <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"> 
  <meta content="telephone=no" name="format-detection"> 
  <meta content="yes" name="apple-mobile-web-app-capable"> 
  <link rel="icon" sizes="any" href="${浏览器logo}">
  <title>希尔梵${网页标题}</title> 
  <link rel="stylesheet" type="text/css" href="https://hwfile.csxuncong.com/xrfrz/new/mobile/./css/common.css"> 
  <link rel="stylesheet" type="text/css" href="https://hwfile.csxuncong.com/xrfrz/new/mobile/css/animate.css"> 
  <link rel="stylesheet" type="text/css" href="https://hwfile.csxuncong.com/xrfrz/new/mobile/./css/swiper-bundle.min.css"> 
  <link rel="stylesheet" type="text/css" href="https://hwfile.csxuncong.com/xrfrz/new/mobile/./css/iconfont.css"> 
  <style>.new-row{ width: 100%; background: #FFFFFF; padding: 12px; box-sizing: border-box; margin-top: 12px; } .box a:first-child .new-row{ margin: 0; } .new-row .time p{ font-size: 14px; font-weight: bold; margin-bottom: 5px; } .new-row .time span{ font-size: 10px; } .new-row .new{ margin: 0 12px; } .new-row .new .title{ font-size: 14px; margin-bottom: 5px; } .new-row .new .content{ font-size: 12px; line-height: 16px; color: #7e7e7e; } .new-row input{ margin-top: 10px; border: 1px solid #ddd; padding: 5px 10px; vertical-align: middle; } .new-row .button{ margin-top: 10px; margin-left: 10px; border: 0; background: #0EA8EE; color: #fff; padding: 5px 15px; vertical-align: middle; } .pagination{ background: #F4F4F4; text-align: center; padding: 0 0 40px; font-size: 0; } .pagination .item{ display: inline-block; border: 1px solid #E5E5E5; width: 32px; height: 32px; line-height: 32px; text-align: center; color: #333; font-size: 14px; cursor: pointer; } .pagination .item.active{ background: #0EA8EE; color: #ffffff; border: 1px solid #0EA8EE; }</style> 
  <meta name="keywords" content="${网页关键词}">
  <meta name="description" content="${网页描述 }">
 </head> 
 <body> 
  <jsp:include page="_top.jsp"></jsp:include>
  <cms:artType var="xxzx" code="xxzx"></cms:artType>
  <div class="image-warp">
   <img src="${img_JB4ov0.adImg}" class="img zy" data-type="ad" data-id="${img_JB4ov0.adId}"> 
   <div class="page-name"> 
    <h2 class="zy" data-type="ad" data-id="${ZY_XinXiZhongXin_1.adId}">${ZY_XinXiZhongXin_1.adTitle}</h2> 
   </div> 
  </div> 
  <div id="navHeader" class="nav-warp flex align-center">
   <c:forEach items="${xxzx }" var="artType" varStatus="status" >
   <div class="nav-item">
    ${artType.artTypeName}
   </div>
   </c:forEach>
  </div> 
  <div id="navContent">
   <c:forEach items="${xxzx }" var="artType" varStatus="status" >
   <div class="${status.index == 0 ? 'box gray-bg' : 'box gray-bg none'}">
    <cms:arts var="artList" code="${artType.code }" pageNow="${param.pageNow == null ? 0 : param.pageNow}" pageSize="10"></cms:arts>
    <c:forEach items="${artList }" var="art" varStatus="status1" >
     <c:if test="${art.t1 ne null && art.t1 ne ''}">
      <div class="new-row">
       <a href="javascript:void(0);" class="flex align-center space-between">
        <div class="time">
         <p class="zy"><fmt:formatDate pattern="dd" value="${art.artCreatetiem}" ></fmt:formatDate></p>
         <span class="nowrap zy"><fmt:formatDate pattern="yyyy-MM" value="${art.artCreatetiem}" ></fmt:formatDate></span>
        </div>
        <div class="new flex-1">
         <p class="title text-left ellipsis zy">${art.artTitle}</p>
         <p class="content ellipsis-two-line zy">${art.artAbstract}</p>
        </div>
        <div>
         <img src="${img_H7VF111.adImg}" class="zy" data-type="ad" data-id="${img_H7VF111.adId}">
        </div>
       </a>
       <div>
        <input type="text" class="input-pwd" placeholder="请输入阅读密码">
        <input type="hidden" class="hid" value="${art.t1}"/>
        <input type="hidden" class="atrid" value="${art.artId}"/>
        <input type="hidden" class="path" value="${path}"/>
        <button class="button zy" onclick="submitPwd(this)">确认</button>
       </div>
      </div>
     </c:if>
     <c:if test="${art.t1 == null || art.t1 == ''}">
      <div class="new-row">
       <a href="${path}/do/redirect/mobile/infoDetail?id=${art.artId}" class="flex align-center space-between">
        <div class="time">
         <p class="zy"><fmt:formatDate pattern="dd" value="${art.artCreatetiem}" ></fmt:formatDate></p>
         <span class="nowrap zy"><fmt:formatDate pattern="yyyy-MM" value="${art.artCreatetiem}" ></fmt:formatDate></span>
        </div>
        <div class="new flex-1">
         <p class="title text-left ellipsis zy">${art.artTitle}</p>
         <p class="content ellipsis-two-line zy">${art.artAbstract}</p>
        </div>
        <div>
         <img src="${img_H7VF111.adImg}" class="zy" data-type="ad" data-id="${img_H7VF111.adId}">
        </div>
       </a>
      </div>
     </c:if>
    </c:forEach>
    <div class="pagination">
     <c:forEach end="${recodeCount }" begin="1" var="index"
                varStatus="count">
      <a href="${path}/do/redirect/mobile/infoCenter?type=${status.index}&pageNow=${index - 1}" class="${param.pageNow == index - 1 ? 'item active' : 'item'}">${index}</a>
     </c:forEach>
    </div>
   </div>
   </c:forEach>
  </div>
  <jsp:include page="_footer.jsp"></jsp:include> 
  <script src="https://hwfile.csxuncong.com/xrfrz/new/mobile/./js/swiper-bundle.min.js"></script> 
  <script src="https://hwfile.csxuncong.com/xrfrz/new/mobile/./js/wow.min.js"></script> 
  <script src="https://hwfile.csxuncong.com/xrfrz/new/mobile/js/jquery.min.js"></script> 
  <script src="https://hwfile.csxuncong.com/xrfrz/new/mobile/./js/common.js"></script> 
  <script>
   function submitPwd(dom) {
    var pwd = $(dom).siblings(".hid").val();
    var inp = $(dom).siblings(".input-pwd").val();
    var atrid = $(dom).siblings(".atrid").val();
    var path = $(dom).siblings(".path").val();
    if(pwd==inp){
     localStorage.setItem(atrid,pwd);
     window.location.href = path  + "/do/redirect/mobile/infoDetail?id=" + atrid;
    }else{
     alert("密码不正确");
    }
   }
  </script>
 </body>
</html>